package com.jeady.timetodo.activities.light

import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import com.jeady.timetodo.activities.task.TaskType
import com.jeady.timetodo.activities.common.CommonTaskUI
import com.jeady.timetodo.activities.common.TaskAction


class VibrateActivity: ComponentActivity() {
    private val TAG = "[VibrateActivity]"
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            CommonTaskUI(
                "定时手机震动",
                "请谨慎使用本功能，一切后果自行承担。",
                listOf(
                    TaskAction("开始震动", TaskType.VIBRATE),
                    TaskAction("停止震动", TaskType.STOP_VIBRATE)
                )
            ){

            }
        }
    }
}

